package bean;

public class HouseInfo {
   private int id;
   private String leaseMode;  //租赁方式
   private double rent;   //租金（元）
   private String contacts; // 联系人
   private String depositMethod;//押金方式
   private int typeId; //房屋类型
   private String address;//地址
   private String type;

    public HouseInfo() {
    }

    @Override
    public String toString() {
        return "HouseInfo{" +
                "id=" + id +
                ", leaseMode='" + leaseMode + '\'' +
                ", rent=" + rent +
                ", contacts='" + contacts + '\'' +
                ", depositMethod='" + depositMethod + '\'' +
                ", typeId=" + typeId +
                ", address='" + address + '\'' +
                ", type='" + type + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getLeaseMode() {
        return leaseMode;
    }

    public void setLeaseMode(String leaseMode) {
        this.leaseMode = leaseMode;
    }

    public double getRent() {
        return rent;
    }

    public void setRent(double rent) {
        this.rent = rent;
    }

    public String getContacts() {
        return contacts;
    }

    public void setContacts(String contacts) {
        this.contacts = contacts;
    }

    public String getDepositMethod() {
        return depositMethod;
    }

    public void setDepositMethod(String depositMethod) {
        this.depositMethod = depositMethod;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public HouseInfo(int id, String leaseMode, double rent, String contacts, String depositMethod, int typeId, String address, String type) {
        this.id = id;
        this.leaseMode = leaseMode;
        this.rent = rent;
        this.contacts = contacts;
        this.depositMethod = depositMethod;
        this.typeId = typeId;
        this.address = address;
        this.type = type;
    }
}
